package com.example.tests;


public class GroupCreationTests extends TestBase {
  
	@org.testng.annotations.Test
  public void testNonEmptyGroupCreation() throws Exception {
    openMainPage();
    openGroupsPage(); 
    initGroupCreation();
    GroupData group = new GroupData();
    group.groupname = "group name";
    group.header = "header";
    group.footer = "footer";
    fillGroupForm(group);
    submitGroupCreation();
    openGroupsPage();
  }

  @org.testng.annotations.Test
  public void testEmptyGroupCreation() throws Exception {
    openMainPage();
    openGroupsPage(); 
    initGroupCreation();
    fillGroupForm(new GroupData("", "", ""));
    submitGroupCreation();
    openGroupsPage();
  }
}
